data segment
    u1 db 'hello',0ah,0dh,'$'
    data ends
code segment
    assume cs:code,ds,data
    start:
    mov ax,data
    mov ds,ax
    mov ah,09h
    int 21h 
    mov ah,0ah
    int 21h
    in al,12h 
    out bx,al
    code ends
end start